package week3;

/**
 * Created by dell on 2017/3/10.
 */
public class CashApp {
    public static void main(String[] args){
        CashCard[] cards = {
                new CashCard("A001", 500, 0),
                new CashCard("A002", 300, 0),
                new CashCard("A003", 1000, 1),
        };

        for(CashCard card : cards) {
           System.out.printf("(%s, %d, %d)%n",card.number, card.balance, card.bonus);
        }
    }
}
